package com.ruoyi.novel.domain;

import java.math.BigDecimal;
public class NovelDTO {
    /** 小说标题 */
    private String title;
    /** 小说作者 */
    private String authorName;
    /** 小说类别 */
    private String categoryName;
    /** 小说封面 */
    private String coverUrl;
    /** 小说月票 */
    private Long pass;
    /** 小说总打赏 */
    private BigDecimal tipping;
    /** 小说总点击 */
    private Long clicks;
    /** 收藏量 */
    private Long collection;

    public NovelDTO() {
    }

    public NovelDTO(String title, String authorName, String categoryName, String coverUrl, Long pass, BigDecimal tipping, Long clicks) {
        this.title = title;
        this.authorName = authorName;
        this.categoryName = categoryName;
        this.coverUrl = coverUrl;
        this.pass = pass;
        this.tipping = tipping;
        this.clicks = clicks;
    }

    public NovelDTO(String title, String authorName, String categoryName, String coverUrl, Long pass, BigDecimal tipping, Long clicks, Long collection) {
        this.title = title;
        this.authorName = authorName;
        this.categoryName = categoryName;
        this.coverUrl = coverUrl;
        this.pass = pass;
        this.tipping = tipping;
        this.clicks = clicks;
        this.collection = collection;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return authorName
     */
    public String getAuthorName() {
        return authorName;
    }

    /**
     * 设置
     * @param authorName
     */
    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    /**
     * 获取
     * @return categoryName
     */
    public String getCategoryName() {
        return categoryName;
    }

    /**
     * 设置
     * @param categoryName
     */
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    /**
     * 获取
     * @return coverUrl
     */
    public String getCoverUrl() {
        return coverUrl;
    }

    /**
     * 设置
     * @param coverUrl
     */
    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    /**
     * 获取
     * @return pass
     */
    public Long getPass() {
        return pass;
    }

    /**
     * 设置
     * @param pass
     */
    public void setPass(Long pass) {
        this.pass = pass;
    }

    /**
     * 获取
     * @return tipping
     */
    public BigDecimal getTipping() {
        return tipping;
    }

    /**
     * 设置
     * @param tipping
     */
    public void setTipping(BigDecimal tipping) {
        this.tipping = tipping;
    }

    /**
     * 获取
     * @return clicks
     */
    public Long getClicks() {
        return clicks;
    }

    /**
     * 设置
     * @param clicks
     */
    public void setClicks(Long clicks) {
        this.clicks = clicks;
    }

    public String toString() {
        return "NovelDTO{title = " + title + ", authorName = " + authorName + ", categoryName = " + categoryName + ", coverUrl = " + coverUrl + ", pass = " + pass + ", tipping = " + tipping + ", clicks = " + clicks + "}";
    }

    /**
     * 获取
     * @return collection
     */
    public Long getCollection() {
        return collection;
    }

    /**
     * 设置
     * @param collection
     */
    public void setCollection(Long collection) {
        this.collection = collection;
    }
}
